package com.gzj.environment.model.biz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gzj.environment.model.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 购买信息对应的实体
 */
@TableName("biz_purchase")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Purchase extends BaseEntity {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long companyId; // 公司id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long stationId; // 站点id

    private Date startDate; // 开始日期
    private Date endDate; // 结束日期
}
